* {
    margin: 0;
    padding: 0;
}

.w{
    width: 95%;
    margin: 0 auto;
}

body {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    font-family: -apple-system, Helvetica, sans-serif;
    font-size: 14px;
    color: #666;
    background-color: rgb(246,246,246);
    height: 2000px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #666;
}

.app {
    height: 45px;
    background-color: #333;
    text-align: center;
    line-height: 45px;
}

.app ul li {
    float: left;
    height: 45px;
}

.app ul li:nth-child(1) {
    width: 8%;
}

.app ul li:nth-child(1) img {
    width: 10px;
}

.app ul li:nth-child(2) {
    width: 10%;
}

.app ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}

.app ul li:nth-child(3) {
    width: 57%;
    color: #fff;
}

.app ul li:nth-child(4) {
    width: 25%;
    background-color: #f63515;
    color: #fff;
    scrollbar-highlight-color: transparent;
}

/* 搜索 */
.search-wrap {
    position: fixed;
    overflow: hidden;
    height: 44px;
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    background-color: rgb(36, 42, 104);
}

.search-btn,
.search-login {
    position: absolute;
    top: 0;
    width: 40px;
    height: 44px;
}

.search-btn {
    left: 0;
}

.search-btn::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../images/s-btn.png') no-repeat;
    background-position: 15px 13px;
    background-size: 20px 18px;
}

.search-login {
    right: 0;
    color: #fff;
    line-height: 44px;
    text-align: center;
}

.search {
    position: relative;
    height: 30px;
    background-color: #fff;
    margin: 0 50px;
    border-radius: 35px;
    margin-top: 7px;
}

.search .jd-icon {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 20px;
    height: 15px;
    background: url('../images/jd.png') no-repeat;
    background-size: 20px 15px;
}

.search .jd-icon::after {
    content: '';
    position: absolute;
    top: 0px;
    right: -8px;
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}

.sou {
    position: absolute;
    top: 8px;
    left: 44px;
    width: 18px;
    height: 15px;
    background: url('../images/jd-sprites.png') -81px 0;
    background-size: 200px 200px;
}

.search input {
    position: absolute;
    top: 7px;
    left: 75px;
    display: block;
    width: 180px;
    outline: none;
    border: 0;
}

/* 主体部分 */
.slider img {
    width: 100%;
}

.brand {
    overflow: hidden;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.brand div {
    float: left;
    width: 33.33%;
}

.brand img {
    width: 100%;
    vertical-align: top;
}

/* nav */
nav {
    padding: 5px 0;
}

nav ul li {
    float: left;
    width: 20%;
    text-align: center;
}

nav ul li a img {
    width: 40px;
    height: 40px;
    margin: 10px 0;
}

nav ul li a span {
    display: block;
}

/* 新闻模块 */
.news {
    margin-top: 160px;
}

.news ul li {
    float: left;
    box-sizing: border-box;
}

.news ul li:nth-child(1) {
    width: 50%;
}

.news ul li:nth-child(2),
.news ul li:nth-child(3) {
    width: 25%;
    border-left: 1px solid #ccc;
}

.news ul li a img {
    width: 100%;
}

.xr img{
    width: 100%;
}


/* 商品 */
.sp{
    width: 100%;
}

.sp .w div{
    float: left;
    width: 50%;
    height: 150px;
    padding: 10px;
    background-color: rgb(255,255,255);
    box-sizing: border-box;
}

.sp .w div:nth-child(1){
    border-right: 1px solid rgb(245,245,245);
    border-bottom: 1px solid rgb(245,245,245);
}
.sp .w div:nth-child(1) img{
    width: 70px;
    height: 70px;
    float: left;
    margin-top: 10px;
    margin-left: 8px;
}

.sp .w div:nth-child(1) p:nth-child(2){
    
}


.sp .w div:nth-child(4){
    border-left: 1px solid rgb(245,245,245);
    border-top: 1px solid rgb(245,245,245);
}

.pcolor{
    font-size: 16px;
    font-weight: 700;
    color: rgb(23,119,251);
}



/* footer{
    position: fixed;
    width: 100%;
    background-color: royalblue;
}
footer ul li{
    float: left;
    width: 20%;
    text-align: center;
    line-height: 100px;
    box-shadow: 0 0 #ccc;
}
footer img{
    width: 100%;
} */